package dao

import (
	entity "gitee.com/youbeiwuhuan/go-xxljob/internal/data/entity"
	"gitee.com/youbeiwuhuan/go-xxljob/pkg/gormv2"
	"gorm.io/gorm"
)

type XxlJobGroupDao struct {
	*gormv2.BaseDao[entity.XxlJobGroup]
}

func NewXxlJobGroupDao(db0 *gorm.DB) *XxlJobGroupDao {
	return &XxlJobGroupDao{
		gormv2.NewBaseDao(db0, entity.XxlJobGroup{}),
	}
}
